package com.example.library_demo.service;

import com.example.library_demo.dto.user.UserLoginDTO;
import com.example.library_demo.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.library_demo.vo.user.UserInfoVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Eric
 * @since 2024-11-27
 */
public interface IUserService extends IService<User> {

    User getUserByUsernameAndPassword(UserLoginDTO userLoginDTO);

    User getUserByToken(String token);

    UserInfoVO getUserInfoByUserId(Long userId);



}
